// app通知配置
import { getapi,postapi } from "@/utils/request";

export const getAppNotifyConfig = (params) => getapi("/console/operationManagement/appNotify/index", params);

export const getConfigEnum = (params) => getapi("/console/operationManagement/appNotify/getConfigEnum", params);

export const addConfig = (params) => postapi("/console/operationManagement/appNotify/created", params);
export const editConfig = (params) => postapi("/console/operationManagement/appNotify/updated/"+ params.id, params);
export const setSataus = (params) => postapi("/console/operationManagement/appNotify/setStatus/"+ params.id, params);
export const configDetail = (id) => getapi(`/console/operationManagement/appNotify/details/${id}`);
// export const getAfterSaleDetail = (id) => getapi(`/console/customer/service/${id}`);
